package com.zxq.uart.frame.encoder;

import com.zxq.factory.annotate.EncoderField;
import com.zxq.factory.annotate.Frame;
import com.zxq.factory.enums.EField;
import com.zxq.uart.model.PlatformAttachDTO;
import lombok.Data;

@Data
@Frame
public class _23CardPreConsumerResult extends PlatformAttachDTO {

    @EncoderField(field = EField.Hex,len = 4)
    String cardNum;

    @EncoderField(sequence = 1,len = 1)
    Integer money;

    @EncoderField(sequence = 2)
    Integer cardType;

    @EncoderField(sequence = 3,len = 1)
    Integer obligate;


}
